package com.pos.clothes.service;

import com.github.pagehelper.PageInfo;
import com.pos.clothes.pojo.Actor;
import com.pos.clothes.pojo.User;
import java.util.List;
import java.util.Set;

public interface UserService {
//    public List<User> getUser();
    public List<Actor> showActor();
    public PageInfo getUser(int pageNum, int pageSize) throws Exception;

    public Integer insertUser(User user);
    public Integer deleteUser(int id);
    public User searchUser(String gonghao);

//    Set<String> getRoles(String username);
//    Set<String> getPermissions(String username);
    User getByUsername(String gonghao);

}
